export type GrammarIssueType = 'Grammar' | 'Spelling' | 'Punctuation' | 'WordChoice' | 'Style' | string;
export interface GrammarIssue {
  type: GrammarIssueType;
  original: string;
  suggestion: string;
  explanation: string;
}
export interface GrammarCheckResult {
  corrected: string;
  issues: GrammarIssue[];
}